﻿$(async function () {
    let form;
    let schema;
    $.get(`/api/home/get-home-view`).then((res) => {
        schema = JSON.parse(res.data.amisJson);
        var options = {
            $element: $("#main"),
            view: schema,
            formData: {}
        }
        form = $("#main").amisForm(options);
    })
})